package com.stu.chart.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import java.util.concurrent.Executor;

import lombok.Data;

/**
 * 
 * @TableName user
 */
@TableName(value ="user")
@Data
public class Staff implements Serializable {
    /**
     * 
     */
    @TableId(value = "staff_id", type = IdType.AUTO)
    private Integer staffId;

    /**
     * 
     */
    @TableField(value = "nick")
    private String nick;


    /**
     * 
     */
    @TableField(value = "email")
    private String email;

    /**
     * 
     */
    @TableField(value = "username")
    private String username;

    /**
     * 
     */
    @TableField(value = "password")
    private String password;

    /**
     * 
     */
    @TableField(value = "last_update")
    private Date lastUpdate;

    @TableField(value = "status")
    private Integer status;

    @TableField(value = "role")
    private Integer role;

    @TableField(value = "age")
    private Integer age;

    @TableField(value = "sex")
    private String sex;

    @TableField(value = "hoby")
    private String hoby;

    /**
     * 
     */
    @TableField(value = "picture")
    private String picture;
    @TableField(value = "self_desc")
    private String selfDesc;
    @TableField(exist = false)
    private Integer isRecommand;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}